From: Marcus Folkesson Date: Thu, 21 Dec 2017 09:25:45 +0000 (+0100) Subject: lib/pull: allways include ostree-repo-pull-private.h X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~27^2~26 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=8d3d14503b3105f93db635022e881e02688f2db4;p=ostree.git lib/pull: allways include ostree-repo-pull-private.h Allways include ostree-repo-pull-private.h to get rid of the following build error when HAVE_LIBCURL_OR_LIBSOUP is not defined: src/libostree/ostree-repo-pull.c:1493:1: error: no previous prototype for '_ostree_repo_verify_bindings' [-Werror=missing-prototypes] Signed-off-by: Marcus Folkesson Closes: #1389 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 2e6e308c..b2a00ea2 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -27,12 +27,12 @@ #include "libglnx.h" #include "ostree.h" #include "otutil.h" +#include "ostree-repo-pull-private.h" #ifdef HAVE_LIBCURL_OR_LIBSOUP #include "ostree-core-private.h" #include "ostree-repo-private.h" -#include "ostree-repo-pull-private.h" #include "ostree-repo-static-delta-private.h" #include "ostree-metalink.h" #include "ostree-fetcher-util.h"